package com.atguigu.gulimail.product.feign;

import com.atguigu.common.to.es.SkuEsModel;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author Guo 2022/9/24 16:42:39
 */
@FeignClient("gulimail-search-guoguo")
public interface SearchFeignService {

    /**
     * gulimail-search-guoguo -- 上架商品
     */
    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);


}
